#pragma once

#include "..\resource.h"

typedef void (*RecvDxMessage)(void* pParam, WPARAM inWParam, LPARAM inLParam);


// CRecvMessageDlg dialog

class CRecvMessageDlg : public CDialog
{
	DECLARE_DYNAMIC(CRecvMessageDlg)

public:
	CRecvMessageDlg(void* pParam, RecvDxMessage fRecvMessage, CWnd* pParent = NULL);   // standard constructor
	virtual ~CRecvMessageDlg();

// Dialog Data
	enum { IDD = IDD_DIALOG_RECV_MESSAGE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();

	afx_msg LRESULT OnGraphNotify(WPARAM inWParam, LPARAM inLParam);

	DECLARE_MESSAGE_MAP()

private:
	RecvDxMessage m_fRecvMessage;
	void* m_pParam;
};
